package com.fram.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fram.bean.sys.PaySearchResponse;
import com.fram.entity.SysPayment;

public interface SysPaymentMapper {

	int deleteByPrimaryKey(Integer payId);

	int insert(SysPayment record);

	int insertSelective(SysPayment record);

	SysPayment selectByPrimaryKey(Integer payId);

	int updateByPrimaryKeySelective(SysPayment record);

	int updateByPrimaryKey(SysPayment record);

	List<PaySearchResponse> select(String view);

	SysPayment selectByPayTypeAndSource(@Param("payType") Integer payType, @Param("view") Integer view);

	SysPayment selectByAppid(String appid);

}